package org.apache.sad.core.framework.constants;

public interface ServiceConstants {
	public static final String REQUEST_HEADER_NS_KEY = "requestHeaderNamespace";
	
    public static final String REQUEST_HEADER = "requestHeader";
    
    public static final String SAML_HEADER = "Assertion";
    
    public static final String SAML_NAMESPACE = "urn:oasis:names:tc:SAML:1.0:assertion";

    public static final String COMMON_NAMESPACE_URI_BASE = "http://xml.comcast.com/";

    public static final String WS_ADDRESSING_NAMESPACE = "http://www.w3.org/2005/08/addressing";
    
    public static final String WS_ADDRESSING_PREFIX = "wsa";
    
    public static final String RESPONSE_HEADER = "responseHeader";

    public static final String TIMESTAMP = "timestamp";

    public static final String SOURCE_SERVER_ID = "sourceServerId";

    public static final String SOURCE_SYSTEM_ID = "sourceSystemId";

    public static final String TRACKING_ID = "trackingId";
        
    public static final String USER_ID = "sourceSystemUserId";

    public static final String WS_USER_ID = "wsSecurityUser";
    
    public static final String WS_CREDENTIAL = "wsSecurityCredential";
    
    public static final String WS_USER_GROUPS = "wsUserGroups";
    
    public static final String TEXT_CREDENTIAL_TYPE = "TEXT";
    
    public static final String DIGEST_CREDENTIAL_TYPE = "DIGEST";
    
    public static final String WS_CREDENTIAL_TYPE = "wsSecurityCredentialType";
    
    public static final String NAMESPACE = "namespace";
    
    public static final String SERVICE_VERSION = "serviceVersion";
    
    public static final String CSG_ENVIRONMENT = "csgEnvironment";
    
    public static final String AWD_ENVIRONMENT = "awdEnvironment";
    
    public static final String USE_NON_REALTIME_DATA = "useNonRealTimeData";
    
    public static final String MESSAGE_ID = "messageId";
    
    public static final String CSG_CONNECTION_METHOD = "csgConnectionMethod";
    public static final String CSG_CONNECTION_METHOD_HTTP = "HTTP";
    public static final String CSG_CONNECTION_METHOD_HTTPS = "HTTPS";
    public static final String CSG_CONNECTION_METHOD_EIP = "EIP";
    
    public static final String DISABLE_CACHING = "disableCaching";
    
    public static final String TAS_LOGGING_LEVEL = "tasLoggingLevel";
    public static final String TAS_LOGGED = "tasLogTransaction";
    public static final String SERVICE_OPERATION = "serviceOperation";
    public static final String SERVER_NODE = "serverNode";
    public static final String SERVICE = "service";
    public static final String MANAGED_NODE = "managedNode";
    public static final String START_TIME = "startTime";
    public static final String SOAP_FAULT_EXCEPTION = "soapFaultException";
    public static final String LOGGING_IN_THRESHOLD = "loggingInThreshold";    
    public static final String TXN_KEY = "transactionKey";
    public static final String MARKET = "market";
    public static final String BILLING_SYSTEM = "billingSystem";
    public static final String ASPECTS = "aspects";
    public static final String PERCENTAGE_LOGGING = "percentageLogging";
    public static final String REQUEST_SIZE = "requestSize";
    public static final String RESPONSE_SIZE= "responseSize";
    
	public static final String CORE_ERROR_1 = "CORE0001";
	public static final String CORE_ERROR_1_MSG = "RequestHeader is required";
	public static final String CORE_ERROR_2 = "CORE0002";
	public static final String CORE_ERROR_2_MSG = "SourceServerId is required in RequestHeader";
	public static final String CORE_ERROR_3 = "CORE0003";
	public static final String CORE_ERROR_3_MSG = "SourceSystemId is required in RequestHeader";
	public static final String CORE_ERROR_4 = "CORE0004";
	public static final String CORE_ERROR_4_MSG = "Timestamp is required in RequestHeader";
	public static final String CORE_ERROR_5 = "CORE0005";
	public static final String CORE_ERROR_5_MSG = "TrackingId is required in RequestHeader";
	public static final String CORE_ERROR_6 = "CORE0006";
	public static final String CORE_ERROR_6_MSG = "RequestHeader namespace is invalid: ";
	
	// WS Addressing Fields
	public static final String WSA_REPLY_TO = "ReplyTo";
	public static final String WSA_ACTION = "Action";
	public static final String WSA_MESSAGE_ID = "MessageID";
	public static final String WSA_RELATES_TO = "RelatesTo";
	public static final String WSA_ADDRESS = "Address";
	public static final String WSA_FROM = "From";
	public static final String WSA_FAULT_TO = "FaultTo";
	public static final String ADD_WSA_HEADER = "AddWsaHeader";
	
	
	//
	public static final String SOAP11_NAMESPACE = "http://schemas.xmlsoap.org/soap/envelope/";
	public static final String FAULT_STRING = "An error occurred. Please check the detail section.";
	public static final String DEFAULT_DETAIL_NAMESPACE = "http://xml.comcast.com/types";
	public static final String DETAIL_PREFIX = "e";
	
}